package com.runshu.newsmartark.common;


import com.runshu.newsmartark.base.MyApplication;
import com.runshu.newsmartark.util.common.SharedPreferencesUtils;

public class ConstantUrl {
    public static final String REGION_TYPE = "region_type";
    public static final String FREQUENCY_INTERVAL = "frequency_interval";
    public static final String START_FREQUENCY = "start_frequency";
    public static final String Share_hasAuth = "hasAuth";
    public static final String Share_isAdmin = "isAdmin";
    public static final String Share_StockNum = "Share_StockNum";
    public static final String Share_StockName = "Share_StockName";
    public static final String Share_HospitalName = "Share_HospitalName";
    public static final String Share_Category = "Share_Category";
    public static final String Share_Modle = "Share_Modle";
    public static final String Share_Manufacturers = "Share_Manufacturers";
    public static final String Share_RefreshTime = "Share_RefreshTime";
    public static final String Share_RefreshProTime = "Share_RefreshProTime";
    public static final String Share_LoadingFirst = "Share_LoadingFirst";
    public static final String Share_PartPort = "Share_PartPort";
    public static final String Share_CycleANum = "Share_CycleANum";
    public static final String Share_CycleBNum = "Share_CycleBNum";
    public static final String Share_PANDIAN_MODE = "PANDIAN_MODE";
    public static final String Share_IP = "Share_IP";

    public static final String Share_CustomerId = "Share_CustomerId";
    public static final String Share_HospitalId = "Share_HospitalId";


    public static final String FILE_APK = "/test.apk";
    public static final String REMOTE_OPEN = "REMOTE_OPEN";
    public static final String REMOTE_CHECK_RFID = "REMOTE_CHECK_RFID";
    public static final String HEART_BEAT_IOT = "HEART_BEAT_IOT";

    //测试环境
//    public static final String URL = "http://10.0.0.90:9901";
    //预发布-阿里云
//    public static final String URL = "http://test.hospital.runshutech.com/api";
    //线上-阿里云
    public static final String URL = "http://pre.hospital.runshutech.com/api";
    public static final String NEWURL = (String) SharedPreferencesUtils.get(MyApplication.getApplication(), Share_IP, "http://pre.cloud.iot.runshutech.com");
    /**
     * POST /hw/user/userList可选用户列表
     */
    public static final String GET_UserList = URL + "/hw/user/userList";

//    /**
//     * POST /hw/product/ 获取首页天气
//     */
//    public static final String HOME_Weather = URL + "/index/getWeather";
    /**
     * POST //hw/product/hwHeart智能柜信息接口
     */
    public static final String HW_INFO = URL + "/index/getIndexCount";
    /**
     * /system/androidVersion/queryVersionInfoByCode  版本更新
     */
    public static final String GET_VERSION_CODE = URL + "/system/androidVersion/queryVersionInfoByCode";
    /**
     * POST /express/delivery/list物流信息列表-分页
     */
    public static final String GET_DELIVE_LIST = URL + "/express/delivery/list";
    /**
     * POST /express/delivery/findById根据ID获取物流信息详情
     */
    public static final String GET_DELIVE_INFO = URL + "/express/delivery/findById";
    /**
     * POST /hw/product/ 获取库存预警列表
     */
    public static final String GET_WARNPRO_LIST = URL + "/hw/product/selectEarlyWarnInfo";


    /**
     * POST /hw/product/ 获取人脸识别列表
     */
    public static final String GET_FACE_LIST = URL + "/hw/user/queryFaceUser";
    //通过流水码查询产品
    public static final String GET_GOODS_BY_SERIALNO = URL + "/inventory/listBySerialNo";

    /**
     * POST /hw/product/ 获取操作日志列表
     */
    public static final String GET_LOGS_LIST = URL + "/journal/findJournal";


    /**
     * 产品明细
     */
    public static final String GET_PRO_LIST = URL + "/hw/product/selectProductInfo";
    /**
     * 产品明细详情
     */
    public static final String GET_PRO_DETAIL = URL + "/hw/product/queryProductDetailsByHwIdInHospital";
    /**
     * POST /hw/user/wxCodeLogin 微信扫码登陆
     */
    public static final String WXCODE_LOGIN = URL + "/hw/user/wxCodeLogin";

    /**
     * POST /hw/product/ 盘点数据列表
     */
    public static final String GET_TakeStock_LIST = URL + "/hw/product/new/hwProduct";

    /**
     * POST /hw/product/ 确认盘点数据
     */
    public static final String CONFIRM_TakeStock = URL + "/hw/product/inventory";

    /**
     * POST /hw/product/ 确认盘点数据
     */
    public static final String GET_QR_Code = URL + "/hw/user/wxCodePictrue";

    /**
     * POST /hw/user/verifyIcCard
     */
    public static final String VERIFY_IcCard = URL + "/hw/user/verifyIcCard";
    /**
     * POST  /hw/user/addUserFace人脸录入
     */
    public static final String ADD_UserFace = URL + "/hw/user/addUserFace";
//
//    /**
//     * POST /hw/user/verifyUserFace人脸识别
//     */
//    public static final String VERIFY_UserFace = URL + "/hw/user/verifyUserFace";
    /**
     * POST //hw/product/hwHeart智能柜心跳
     */
    public static final String HW_HEART = URL + "/hw/product/hwHeart";

    /**
     * POST 类别
     */
    public static final String GET_CategoryList = URL + "/hw/product/queryCategoryList";

    /**
     * POST 库位
     */
    public static final String GET_StockSel = URL + "/hw/product/queryStockSel";
    /**
     * POST 厂商
     */
    public static final String GET_ManufacturerSel = URL + "/hw/product/queryManufacturerSel";
    /**
     * POST 规格
     */
    public static final String GET_ModelSel = URL + "/hw/product/queryModelSel";
    /**
     * POST /hw/product/queryCategoryList规格
     */
    public static final String GET_ProductsByCategory = URL + "/hw/product/queryProductsByCategory";


    /**
     * POST /hw/product/queryCategoryList类别列表
     */
    public static final String GET_deliveryTitie = URL + "/express/delivery/deliveryTitie";

    /**
     * 联想接口
     */
    public static final String GET_LxTitie = URL + "/hw/product/queryThinkProduct";

    /**
     * 拉取用户信息数据接口
     */
    public static final String GET_UserInfo = URL + "/android/selectAllUser";
    /**
     * 拉取医院所有商品数据
     */
    public static final String GET_AllProInfo = URL + "/android/selectAndroidProductInfo";


    /**
     * 获取柜子基本数据
     */
    public static final String GET_HardwareInfo = URL + "/hw/product/selectHardwareInfoByMac";


    /**
     * 插入日志
     */
    public static final String INSERT_HardwareLog = URL + "/android/insertHardwareLog";


    /**
     * ************************************************************************************************
     * 查询智能柜接口
     */

    public static final String GET_HDInfo = NEWURL + "/app/hw/hwInfo";

    /**
     * POST 库位下拉列表
     */
    public static final String GET_stockType = NEWURL + "/app/hw/stockType";

    /**
     * POST  查询库存列表接口
     */
    public static final String GET_inventoryList = NEWURL + "/app/hw/inventoryList";
    /**
     * POST  查询库存详情接口
     */
    public static final String GET_inventoryDetail = NEWURL + "/app/hw/inventoryDetail";
    /**
     * POST  首页面库存数量
     */
    public static final String GET_inventorySum = NEWURL + "/app/hw/inventorySum";
    /**
     * POST .IC卡-开柜：/api/user/userInfo
     */
    public static final String GET_Login = NEWURL + "/app/user/userInfo";


    /**
     * POST  人脸识别开柜：
     */

    public static final String VERIFY_UserFace = NEWURL + "/faceApi/hw/user/verifyUserFace";


    /**
     * POST .查询出入柜记录
     */
    public static final String GET_HWLog = NEWURL + "/app/hw/hwLog";
    /**
     * POST .关柜盘点
     */
    public static final String GET_checkInventory = NEWURL + "/app/hw/checkInventory";

    /**
     * POST .查询用户列表：
     */
    public static final String GET_UserInfoList = NEWURL + "/app/user/userInfoList";

    /**
     * POST .录入人脸识别数据
     */
    public static final String GET_AddFace = NEWURL + "/app/user/addFace";

    /**
     * POST .查询录入人脸用户列表
     */
    public static final String GET_UserFaceList = NEWURL + "/app/user/userFaceList";

    /**
     * POST 版本更新
     */
    public static final String GET_Version = NEWURL + "/app/hw/version";

    /**
     * POST 查询医院下所有用户列表
     */
    public static final String GET_UserAllList = NEWURL + "/app/user/userAllList";

    /**
     * 离线盘点数据同步
     */
    public static final String Offline_Iinventory = NEWURL + "/app/hw/offlineIinventory";

}
